package studio.raptor.extractor.segment.entity;

import studio.raptor.extractor.common.util.Pair;

import java.util.List;

/**
 * Created by liuyong8 on 2017/7/25.
 */
public class EventDataInfo implements Comparable<EventDataInfo>{
    private Long metaId;
    private EventMeta eventMeta;
    private List<Pair<String,String>> nodes;

    @Override
    public int compareTo(EventDataInfo o) {
        return this.metaId.compareTo(o.getMetaId());
    }

    public Long getMetaId() {
        return metaId;
    }

    public void setMetaId(Long metaId) {
        this.metaId = metaId;
    }

    public List<Pair<String, String>> getNodes() {
        return nodes;
    }

    public void setNodes(List<Pair<String, String>> nodes) {
        this.nodes = nodes;
    }

    public EventMeta getEventMeta() {
        return eventMeta;
    }

    public void setEventMeta(EventMeta eventMeta) {
        this.eventMeta = eventMeta;
    }
}
